package com.xdf.zipperdye.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Material implements Serializable,Cloneable {
    private Integer iid;

    private String client_sid;
    private String bill_code;

    private String bill_number;

    private String bill_type;

    private Date bill_date;

    private String goods_sid;

    private String specification;

    private Integer amount;

    private BigDecimal kilo;

    private String position;

    private String remark;

    private Boolean audit;

    private Integer state;

    private String operator_sid;

    private String operator_name;

    private Date nullify_time;
    private String nullify_remark;
    private String nullify_operator;
    private String nullify_ip;

    private Date create_time;

    private static final long serialVersionUID = 1L;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public void setNullify_ip(String nullify_ip) {
        this.nullify_ip = nullify_ip;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getNullify_time() {
        return nullify_time;
    }

    public void setNullify_time(Date nullify_time) {
        this.nullify_time = nullify_time;
    }

    public String getNullify_remark() {
        return nullify_remark;
    }

    public void setNullify_remark(String nullify_remark) {
        this.nullify_remark = nullify_remark;
    }

    public String getNullify_operator() {
        return nullify_operator;
    }

    public void setNullify_operator(String nullify_operator) {
        this.nullify_operator = nullify_operator;
    }

    public String getNullify_ip() {
        return nullify_ip;
    }

    public String getClient_sid() {
        return client_sid;
    }

    public void setClient_sid(String client_sid) {
        this.client_sid = client_sid;
    }

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public String getBill_code() {
        return bill_code;
    }

    public void setBill_code(String bill_code) {
        this.bill_code = bill_code == null ? null : bill_code.trim();
    }

    public String getBill_number() {
        return bill_number;
    }

    public void setBill_number(String bill_number) {
        this.bill_number = bill_number == null ? null : bill_number.trim();
    }

    public String getBill_type() {
        return bill_type;
    }

    public void setBill_type(String bill_type) {
        this.bill_type = bill_type == null ? null : bill_type.trim();
    }

    public Date getBill_date() {
        return bill_date;
    }

    public void setBill_date(Date bill_date) {
        this.bill_date = bill_date;
    }

    public String getGoods_sid() {
        return goods_sid;
    }

    public void setGoods_sid(String goods_sid) {
        this.goods_sid = goods_sid == null ? null : goods_sid.trim();
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification == null ? null : specification.trim();
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigDecimal getKilo() {
        return kilo;
    }

    public void setKilo(BigDecimal kilo) {
        this.kilo = kilo;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Boolean getAudit() {
        return audit;
    }

    public void setAudit(Boolean audit) {
        this.audit = audit;
    }

    public String getOperator_sid() {
        return operator_sid;
    }

    public void setOperator_sid(String operator_sid) {
        this.operator_sid = operator_sid == null ? null : operator_sid.trim();
    }

    public String getOperator_name() {
        return operator_name;
    }

    public void setOperator_name(String operator_name) {
        this.operator_name = operator_name == null ? null : operator_name.trim();
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "Material{" +
                "iid=" + iid +
                ", client_sid='" + client_sid + '\'' +
                ", bill_code='" + bill_code + '\'' +
                ", bill_number='" + bill_number + '\'' +
                ", bill_type='" + bill_type + '\'' +
                ", bill_date=" + bill_date +
                ", goods_sid='" + goods_sid + '\'' +
                ", specification='" + specification + '\'' +
                ", amount=" + amount +
                ", kilo=" + kilo +
                ", position='" + position + '\'' +
                ", remark='" + remark + '\'' +
                ", audit=" + audit +
                ", state=" + state +
                ", operator_sid='" + operator_sid + '\'' +
                ", operator_name='" + operator_name + '\'' +
                ", nullify_time=" + nullify_time +
                ", nullify_remark='" + nullify_remark + '\'' +
                ", nullify_operator='" + nullify_operator + '\'' +
                ", nullify_ip='" + nullify_ip + '\'' +
                ", create_time=" + create_time +
                '}';
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}